import React, { Component } from 'react';
import styles from './Bottom.module.css'
class Index extends Component {
    render() {
        return (
            <div className={styles.content}>
                <button onClick={()=>{this.props.myRun("子组件数据")}}>botton</button>
                {/* <button onClick={this.handleClick}>bottom</button> */}
            </div>
        );
    }
    /* handleClick=()=>{
        this.props.myRun("子组件数据")
    } */
}

export default Index;
